﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Details.aspx.cs" Inherits="MVCClubSite.Web.Views.Locations.Details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="contentblock">
<h2><%= ViewData.Model.Location.Title %></h2>
 <div class="location">

    <p><%= ViewData.Model.Location.Description %></p>
    
    <p><%= ViewData.Model.Location.Address %></p>
    
   <br />
 <% if (User.IsInRole("Administrator")) { %>
    <%= Html.ActionLink("Edit Location", "Edit", "Locations", new { id = ViewData.Model.Location.ID }, null)%>
 <% } %>
       
 </div>
 <br />
 
 </div>
</asp:Content>
